package com.imti.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.web.bind.annotation.RequestMapping;

import java.io.Serializable;
import java.util.Date;

/**
 * (NoticeInfo)表实体类
 *
 * @author makejava
 * @since 2023-02-01 13:17:55
 */

@Data
@RequestMapping("notice_info")
public class NoticeInfo implements Serializable {//实现Serializable为了实现序列化

    //新闻id序号
    @TableId(type = IdType.AUTO)
    private Integer infoId;

    //新闻标题
    private String notTitle;

    //新闻内容
    private String notContext;

    //1 通知，2 资讯
    private String notType;
    
    private Integer createBy;
    
    private Date createTime;

    private String notImg;

}

